/**
 * 
 */
package com.xpec.c4.game.system;

import java.util.Set;

import com.ms.service.db.jedis.JedisManager;
import com.xpec.c4.game.utility.GUIDFactory;
import com.xpec.c4.service.module.ConsistentGroupName;
import com.xpec.c4.service.module.ModuleName;

/**
 * 單純用來測試 bin 檔載入是否正常的 main class
 * 
 * @author TW15010
 */
public class InitDataTester {
	/**
	 * VM argument: -Dlog4j.configurationFile="./config/log4j2.xml" -DlogName=serverAll
	 */
	public static void main(String[] args) {
		InitData.initAll();
		GUIDFactory.setProcessId(1);
		GUIDFactory.setWorldId(1);
		ConsistentGroupName.initial();
		Set<String> node = JedisManager.getJedisPlayerDatabasesMap().keySet();
		ConsistentGroupName.registerCustomConsistentGroupName(ModuleName.GROUP_PLAYER_DATA_REDIS, node);

		// implement test code here ....
	}
}
